Integrand size = 27, antiderivative size = 192 \[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=-\frac {192 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x)}{35 f \sqrt {3+3 \sin (e+f x)}}-\frac {16 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) \sqrt {3+3 \sin (e+f x)}}{35 f}-\frac {2 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) (3+3 \sin (e+f x))^{3/2}}{35 f}-\frac {4 (9 c-d) d \cos (e+f x) (3+3 \sin (e+f x))^{5/2}}{63 f}-\frac {2 d^2 \cos (e+f x) (3+3 \sin (e+f x))^{7/2}}{27 f} \]
[Out]
Time = 0.19 (sec) , antiderivative size = 202, normalized size of antiderivative = 1.05, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {2840, 2830, 2726, 2725} \[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=-\frac {64 a^3 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x)}{315 f \sqrt {a \sin (e+f x)+a}}-\frac {16 a^2 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{315 f}-\frac {2 a \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{105 f}-\frac {4 d (9 c-d) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{63 f}-\frac {2 d^2 \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{9 a f} \]
[In]
[Out]
Rule 2725
Rule 2726
Rule 2830
Rule 2840
Rubi steps \begin{align*} \text {integral}& = -\frac {2 d^2 \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{9 a f}+\frac {2 \int (a+a \sin (e+f x))^{5/2} \left (\frac {1}{2} a \left (9 c^2+7 d^2\right )+a (9 c-d) d \sin (e+f x)\right ) \, dx}{9 a} \\ & = -\frac {4 (9 c-d) d \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{63 f}-\frac {2 d^2 \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{9 a f}+\frac {1}{21} \left (21 c^2+30 c d+13 d^2\right ) \int (a+a \sin (e+f x))^{5/2} \, dx \\ & = -\frac {2 a \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{105 f}-\frac {4 (9 c-d) d \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{63 f}-\frac {2 d^2 \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{9 a f}+\frac {1}{105} \left (8 a \left (21 c^2+30 c d+13 d^2\right )\right ) \int (a+a \sin (e+f x))^{3/2} \, dx \\ & = -\frac {16 a^2 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{315 f}-\frac {2 a \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{105 f}-\frac {4 (9 c-d) d \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{63 f}-\frac {2 d^2 \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{9 a f}+\frac {1}{315} \left (32 a^2 \left (21 c^2+30 c d+13 d^2\right )\right ) \int \sqrt {a+a \sin (e+f x)} \, dx \\ & = -\frac {64 a^3 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x)}{315 f \sqrt {a+a \sin (e+f x)}}-\frac {16 a^2 \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{315 f}-\frac {2 a \left (21 c^2+30 c d+13 d^2\right ) \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{105 f}-\frac {4 (9 c-d) d \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{63 f}-\frac {2 d^2 \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{9 a f} \\ \end{align*}
Time = 5.19 (sec) , antiderivative size = 180, normalized size of antiderivative = 0.94 \[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=-\frac {\sqrt {3} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (1+\sin (e+f x))^{5/2} \left (7476 c^2+12480 c d+5653 d^2-4 \left (63 c^2+360 c d+254 d^2\right ) \cos (2 (e+f x))+35 d^2 \cos (4 (e+f x))+2352 c^2 \sin (e+f x)+6060 c d \sin (e+f x)+3116 d^2 \sin (e+f x)-180 c d \sin (3 (e+f x))-260 d^2 \sin (3 (e+f x))\right )}{140 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^5} \]
[In]
[Out]
Time = 7.78 (sec) , antiderivative size = 168, normalized size of antiderivative = 0.88
method | result | size |
default | \(\frac {2 \left (\sin \left (f x +e \right )+1\right ) a^{3} \left (\sin \left (f x +e \right )-1\right ) \left (35 \left (\sin ^{4}\left (f x +e \right )\right ) d^{2}+90 \left (\sin ^{3}\left (f x +e \right )\right ) c d +130 d^{2} \left (\sin ^{3}\left (f x +e \right )\right )+63 \left (\sin ^{2}\left (f x +e \right )\right ) c^{2}+360 c d \left (\sin ^{2}\left (f x +e \right )\right )+219 \left (\sin ^{2}\left (f x +e \right )\right ) d^{2}+294 c^{2} \sin \left (f x +e \right )+690 c d \sin \left (f x +e \right )+292 \sin \left (f x +e \right ) d^{2}+903 c^{2}+1380 c d +584 d^{2}\right )}{315 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(168\) |
parts | \(\frac {2 c^{2} \left (\sin \left (f x +e \right )+1\right ) a^{3} \left (\sin \left (f x +e \right )-1\right ) \left (3 \left (\sin ^{2}\left (f x +e \right )\right )+14 \sin \left (f x +e \right )+43\right )}{15 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}+\frac {2 d^{2} \left (\sin \left (f x +e \right )+1\right ) a^{3} \left (\sin \left (f x +e \right )-1\right ) \left (35 \left (\sin ^{4}\left (f x +e \right )\right )+130 \left (\sin ^{3}\left (f x +e \right )\right )+219 \left (\sin ^{2}\left (f x +e \right )\right )+292 \sin \left (f x +e \right )+584\right )}{315 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}+\frac {4 c d \left (\sin \left (f x +e \right )+1\right ) a^{3} \left (\sin \left (f x +e \right )-1\right ) \left (3 \left (\sin ^{3}\left (f x +e \right )\right )+12 \left (\sin ^{2}\left (f x +e \right )\right )+23 \sin \left (f x +e \right )+46\right )}{21 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(232\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 339, normalized size of antiderivative = 1.77 \[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=-\frac {2 \, {\left (35 \, a^{2} d^{2} \cos \left (f x + e\right )^{5} - 5 \, {\left (18 \, a^{2} c d + 19 \, a^{2} d^{2}\right )} \cos \left (f x + e\right )^{4} + 672 \, a^{2} c^{2} + 960 \, a^{2} c d + 416 \, a^{2} d^{2} - {\left (63 \, a^{2} c^{2} + 360 \, a^{2} c d + 289 \, a^{2} d^{2}\right )} \cos \left (f x + e\right )^{3} + {\left (231 \, a^{2} c^{2} + 510 \, a^{2} c d + 263 \, a^{2} d^{2}\right )} \cos \left (f x + e\right )^{2} + 2 \, {\left (483 \, a^{2} c^{2} + 870 \, a^{2} c d + 419 \, a^{2} d^{2}\right )} \cos \left (f x + e\right ) - {\left (35 \, a^{2} d^{2} \cos \left (f x + e\right )^{4} + 672 \, a^{2} c^{2} + 960 \, a^{2} c d + 416 \, a^{2} d^{2} + 10 \, {\left (9 \, a^{2} c d + 13 \, a^{2} d^{2}\right )} \cos \left (f x + e\right )^{3} - 3 \, {\left (21 \, a^{2} c^{2} + 90 \, a^{2} c d + 53 \, a^{2} d^{2}\right )} \cos \left (f x + e\right )^{2} - 2 \, {\left (147 \, a^{2} c^{2} + 390 \, a^{2} c d + 211 \, a^{2} d^{2}\right )} \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a}}{315 \, {\left (f \cos \left (f x + e\right ) + f \sin \left (f x + e\right ) + f\right )}} \]
[In]
[Out]
\[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=\int \left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {5}{2}} \left (c + d \sin {\left (e + f x \right )}\right )^{2}\, dx \]
[In]
[Out]
\[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=\int { {\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {5}{2}} {\left (d \sin \left (f x + e\right ) + c\right )}^{2} \,d x } \]
[In]
[Out]
none
Time = 0.56 (sec) , antiderivative size = 331, normalized size of antiderivative = 1.72 \[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=\frac {\sqrt {2} {\left (35 \, a^{2} d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {9}{4} \, \pi + \frac {9}{2} \, f x + \frac {9}{2} \, e\right ) + 630 \, {\left (20 \, a^{2} c^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 30 \, a^{2} c d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 13 \, a^{2} d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 420 \, {\left (5 \, a^{2} c^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 11 \, a^{2} c d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 5 \, a^{2} d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {3}{4} \, \pi + \frac {3}{2} \, f x + \frac {3}{2} \, e\right ) + 252 \, {\left (a^{2} c^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 5 \, a^{2} c d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 3 \, a^{2} d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {5}{4} \, \pi + \frac {5}{2} \, f x + \frac {5}{2} \, e\right ) + 45 \, {\left (4 \, a^{2} c d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 5 \, a^{2} d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {7}{4} \, \pi + \frac {7}{2} \, f x + \frac {7}{2} \, e\right )\right )} \sqrt {a}}{2520 \, f} \]
[In]
[Out]
Timed out. \[ \int (3+3 \sin (e+f x))^{5/2} (c+d \sin (e+f x))^2 \, dx=\int {\left (a+a\,\sin \left (e+f\,x\right )\right )}^{5/2}\,{\left (c+d\,\sin \left (e+f\,x\right )\right )}^2 \,d x \]
[In]
[Out]